//
//  FactoryCollectionViewCell.m
//  FlowerRainGround
//
//  Created by lanou on 16/4/19.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "FactoryCollectionViewCell.h"

@implementation FactoryCollectionViewCell

+ (BaseCollectionViewCell *)createCollectionViewCellWithModel:(BaseModel *)model collection:(UICollectionView *)collectionView indexPath:(NSIndexPath *)indexPath {
    
    NSString *name = NSStringFromClass([model class]);
    BaseCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:name forIndexPath:indexPath];
    
    return cell;
}

@end
